package com.bw.educate.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bw.educate.common.ResponseResult;
import com.bw.educate.entity.EduUser;

import javax.servlet.http.HttpServletResponse;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 在线教育-五组
 * @since 2020-08-12
 */
public interface IEduUserService extends IService<EduUser> {

    ResponseResult getList(int currentPage, int pageSize, EduUser user);

    ResponseResult addStudent(EduUser user);

    ResponseResult freezeStudnet(Long id);

    ResponseResult delStudnet(Long id);

    ResponseResult findStudent(Long id);

    ResponseResult userService(EduUser user);

    ResponseResult updateisAvalible(long id, long isAvalible);

    ResponseResult login(EduUser user, HttpServletResponse response);

    ResponseResult registerLogin(EduUser user);
}
